#ifndef GAMESPHERE_H
#define GAMESPHERE_H

#include "Ogre/Ogre.h"
#include "OIS/OIS.h"

#include <Ogre/OgreStringConverter.h>
#include <Ogre/OgreErrorDialog.h>

using namespace Ogre;

class GameSphere
{
private:
	Entity* sphereEntity;
	SceneNode* sphereNode;
	float speed;
	float radius;
	Vector3 direction;

	void CreateSphere(const std::string& strName, const float r, const int nRings, const int nSegments);

public:
	GameSphere(const float i_speed, const Vector3& i_direction, const std::string& i_name, const float i_radius,  int i_nRings,  int i_nSegments);
	~GameSphere();
	Entity* GetSphereEntity() const;
	void SetSphereEntity(Entity* i_entity);
	SceneNode* GetSphereNode() const;
	void SetSphereNode(SceneNode* node);
	float GetSpeed() const;
	void SetSpeed(const float i_value);
	float GetRadius() const;
	void SetRadius(float i_radius);
	void MoveOnZAxis(const Real& deltaTime);

};
#endif